<%-- 
    Document   : CreateNewClientForm
    Created on : 31 mai 2012, 10:33:41
    Author     : isen
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Create new client</title>
    </head>
    <body>
    <center>
        
        <%if (request.getAttribute ("resultado") != null){ %>
        <p><%= request.getAttribute("resultado")  %></p>
        <% } %>
        
        <h1>Hola!</h1>
        <h1>Please fill in this form:</h1>

        <form action="/MyFrontController"><input name="form" value="createClientServlet" type="hidden">
            Name: <input name="name" value="" type="text"><br />            
            Address: <input name="address" value="" type="text"><br />
            Username: <input name="username" value="" type="text"><br />
            Password: <input name="pass" value="" type="password"><br />
            Paiement:
            <select name="formatdepago"><option>Visa</option><option>Transferencia bancaria</option><option>Contra reembolso</option></select>
            <br>
            <input type="hidden" name="status" value="c"/>
            <input type="submit" value="Enviar" name="Enviar" />  
            <br>

            <img src="http://upload.wikimedia.org/wikipedia/commons/d/de/FraiseFruitPhoto.jpg"/>

        
    </center>
    </body>
</html>
